package com.qyhl.module_home.common;


import com.qyhl.webtv.commonlib.common.CommonUtils;

/**
 * 主页Url
 *
 * @author helin
 * @date 2019年4月3日11:29:46
 */
public class HomeUrl {

    public static String BASE_APPCONIF_URL;

    public static String BASE_SCORE_URL;
    /**
     * 用户行为数据上传地址
     */
    public final static String USER_ACTION_DATA_URL = "http://report.i2863.com/";

    static {
        BASE_APPCONIF_URL = CommonUtils.getInstance().getBaseUrl();
        BASE_SCORE_URL = CommonUtils.getInstance().getScoreUrl();
    }

    /**
     * 获取指定栏目新闻
     */
    public final static String GET_HOME_NEWS = BASE_APPCONIF_URL + "app/homeNews";


    public final static String GET_UNREAD_MSG_NUM = BASE_APPCONIF_URL + "message/unread";

    public final static String GET_MESSAGE_LIST = BASE_APPCONIF_URL + "message/list";

    /**
     * 新闻搜索
     */
    public final static String GET_SEARCH_NEWS = BASE_APPCONIF_URL + "news/search";

    /**
     * 新闻搜索
     */
    public final static String GET_SEARCH_LIST = BASE_APPCONIF_URL + "news/searchByCatalog";

    /**
     * 城市
     */
    public final static String GET_CITY = BASE_APPCONIF_URL + "menuGroup/city";

    /**
     * 号码百事通号码搜索
     */
    public final static String GET_BESTONE_SEARCH = BASE_APPCONIF_URL + "phone/search";


    /**
     * 号码百事通类型列表
     */
    public final static String GET_BESTONE_CALSSTYPE = BASE_APPCONIF_URL + "phone/typeList";

    /**
     * 号码百事通具体类型电话列表
     */
    public final static String GET_BESTONE_TYPELIST = BASE_APPCONIF_URL + "phone/listByType";

    /**
     * 聚合新闻
     */
    public final static String GET_GATHER_NEWS = BASE_APPCONIF_URL + "app/polNews";

    /**
     * 商品置顶
     */
    public final static String GET_SHOPPING_TOP = BASE_SCORE_URL + "item/appTop";


    /**
     * 首页广告
     */
    public final static String GET_HOME_ADV = BASE_APPCONIF_URL + "adv/getHomeAdv";
    /**
     * 获取首页信息
     */
    public final static String GET_HOME = BASE_APPCONIF_URL + "app/home";

    /**
     * 获取APP配置信息 新版
     */
    public final static String GET_APP_CONFIG_NEW = BASE_APPCONIF_URL + "appConfig/getAppConfigNew";


    /**
     * 验证token
     */
    public final static String GET_COMPARE_TOKEN = BASE_APPCONIF_URL + "user/decodeUserInfo";
}

